import math
a = (math.cos(math.pi/6)+1)/(math.cos(math.pi/3)+1)
print(a)